import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { LoginController } from './login.controller'
import { LoginService } from './login.service'
import { User } from '../../../database/entities/user.entity'
import { MailModule } from '../../internal-modules/mail/mail.module'
import { AuthModule } from 'src/modules/internal-modules/auth/auth.module'

@Module({
  imports: [TypeOrmModule.forFeature([User]), MailModule, AuthModule],
  controllers: [LoginController],
  providers: [LoginService],
  exports: [LoginService]
})
export class LoginModule {}
